Rate-adaptive pacemaker programming